//
//  HWHomePageMenuView.m
//  HappyWeekend
//
//  Created by lanou on 16/1/13.
//  Copyright © 2016年 com.mjykj.www. All rights reserved.
//

#import "HWHomePageMenuView.h"

@implementation HWHomePageMenuView


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth - 26 , 26)];
                [self addSubview:_scrollView];
        
        self.pullDownButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _pullDownButton.frame = CGRectMake(_scrollView.right, _scrollView.top + 3, kIconX1, kIconX1);
        [_pullDownButton setBackgroundImage:[UIImage imageNamed:@"iconfont-xiala"] forState:(UIControlStateNormal)];
        [self addSubview:_pullDownButton];
        
        self.lineView = [[UIView alloc] initWithFrame:CGRectMake(0, frame.size.height - 2, (kScreenWidth - 26) / 5, 2)];
        _lineView.backgroundColor = [UIColor redColor];
        [self addSubview:_lineView];
        
        
    }
    return self;
}


@end
